html {
  font-family: 'Helvetica Neue', Helvetica, STHeiTi, Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background-color: white;
  height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
form,
ul,
ol,
pre,
blockquote,
textarea,
input,
figure,
button {
  margin: 0;
  font-size: dpr(32px);
}

ul,
ol,
th,
td,
button,
textarea,
input {
  padding: 0;
}

input,
textarea,
keygen,
select,
button {
  font-family: Helvetica Neue, Helvetica, STHeiTi, Arial, sans-serif;
  font-size: dpr(32px);
  line-height: 1.5;
  color: var(--text);
}

button,
input,
textarea {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

input,
textarea {
  &::placeholder {
    color: var(--placeholder);
  }
}

ul,
ol {
  list-style: none;
}

code,
kbd,
pre,
samp {
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  & code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0;
  }
}

i,
em {
  font-style: normal;
}

a {
  color: var(--primary);
  text-decoration: none;

  &:hover {
    text-decoration: none;
  }

  &:active {
    color: var(--secondary);
  }
}

article,
footer,
header,
nav,
section {
  display: block;
}
